package cn.com.chengmandian.rabbitmq.constants;

public enum IotDeviceStatusEnum {
    OFFLINE(0, "离线"),
    ONLINE(1, "在线");

    private Integer code;

    private String name;

    public Integer getCode() {
        return code;
    }

    IotDeviceStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
